import React from 'react';
import styles from './style.css'
import Cookie from 'js-cookie'


import Map from 'lodash.map'
import MyIcon from "../../component/Icon/icon";

class CourseDetails extends React.Component {
    constructor(props) {
        super()
        this.state = {
            hasMore: true,
            autoLoadMore: false,
            headStylesTop: 97,
            array: [1],
            user: {
                userImage: ""
            }
        }
    }


    render() {
        return <div className={styles.CourseDetails}>
            <div className={styles.item}>
                <img src="/static/Image.png" alt="" className={styles.courverUmage}/>
                <div className={styles.h1}>
                    Project
                    Management
                </div>
                <div className={styles.rectangle}>
                    $28.99
                </div>
                <div className={styles.row2}>
                    <div className={styles.item2}>
                        <div className={styles.icon}>
                            <MyIcon type={"user"}></MyIcon>
                        </div>
                        <div className={styles.title}>
                            5.8k
                        </div>
                        <div className={styles.small}>
                            Students
                        </div>
                    </div>
                    <div className={styles.item2}>
                        <div className={styles.icon}>
                            <MyIcon type={"user"}></MyIcon>
                        </div>
                        <div className={styles.title}>
                            5.8k
                        </div>
                        <div className={styles.small}>
                            Students
                        </div>
                    </div>
                    <div className={styles.item2}>
                        <div className={styles.icon}>
                            <MyIcon type={"user"}></MyIcon>
                        </div>
                        <div className={styles.title}>
                            5.8k
                        </div>
                        <div className={styles.small}>
                            Students
                        </div>
                    </div>
                </div>
                <div className={styles.downLoad}>
                    <div className={styles.btn}>
                        <MyIcon type={"download"}></MyIcon>
                    </div>
                </div>
            </div>
        </div>
    }
}

export default CourseDetails